﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Experiences_Tags.aspx.vb" Inherits="Travelling_Alone.Warnings_All" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<style type="text/css">
    .style1
    {
        font-size: x-large;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<p class="style1">
        Select a Tag to see relevant Experiences.</p>
<p class="style1">
    <asp:GridView ID="GridViewExperienceTagView" Width="600px" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="tag_word" DataSourceID="SqlDataSourceExperienceTagView" style="font-size: medium" 
        BackColor="#99B2FF" BorderColor="Tan" BorderWidth="1px" HorizontalAlign="Left"
        CellPadding="2" ForeColor="Black" GridLines="None">
        <AlternatingRowStyle BackColor="#b8c9ff" />
        <Columns>
            <asp:BoundField DataField="tag_word" ItemStyle-ForeColor="White" HeaderText="Tag" 
                >
<ItemStyle ForeColor="White"></ItemStyle>
            </asp:BoundField>
            <asp:HyperLinkField Text="See Experiences &gt;&gt;&gt;" 
                DataNavigateUrlFields="tag_word" ControlStyle-BackColor="White" 
                DataNavigateUrlFormatString="Experiences_By_Tag.aspx?Tag={0}" >
<ControlStyle BackColor="White"></ControlStyle>
            </asp:HyperLinkField>
        </Columns>
        <FooterStyle BackColor="Tan" />
        <HeaderStyle BackColor="#003399" ForeColor="White" Font-Bold="True"  />
        <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" 
            HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
        <SortedAscendingCellStyle BackColor="#FAFAE7" />
        <SortedAscendingHeaderStyle BackColor="#DAC09E" />
        <SortedDescendingCellStyle BackColor="#E1DB9C" />
        <SortedDescendingHeaderStyle BackColor="#C2A47B" />
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSourceExperienceTagView" runat="server" 
        ConnectionString="<%$ ConnectionStrings:TravellingAloneConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:TravellingAloneConnectionString.ProviderName %>" 
        SelectCommand="SELECT * FROM experienceTagView"></asp:SqlDataSource>
</p>
</asp:Content>
